package com.cs.cssupplier.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.Date;

/**
 * @Author：lyj
 * @Package：com.cs.cssupplier.domain
 * @Project：RuoYi-Cloud-master
 * @name：CsRiskMonitor
 * @Date：2024/11/27 14:10
 * @Filename：CsRiskMonitor
 */
public class CsRiskMonitor extends BaseEntity {
    /**
     * 风险监控ID
     */
    @Excel(name="风险监控ID")
    private Integer rm_id;

    /**
     * 合同ID
     */
    @Excel(name="合同ID")
    private Integer eid;
    @Excel(name="合同名称")
    private String e_hname;
    /**
     * 风险说明
     */
    @Excel(name="风险说明")
    private String rm_illustrate;
    @Excel(name="供应商名称")
    private String h_name;
    /**
     * 发生日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @Excel(name = "发生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rm_happen_date;

    /**
     * 风险项
     */
    @Excel(name="风险项")
    private Integer rm_item;

    /**
     * 风险处理状态
     */
    @Excel(name="风险处理状态")
    private Integer rm_status;

    /**
     * 处理日期
     */
    @Excel(name="处理日期")
    private Date rm_handing_date;

    /**
     * 处理人
     */
    @Excel(name="处理人")
    private String rm_handing_person;

    /**
     * 处理结果
     */
    @Excel(name="处理结果")
    private String rm_handing_result;

    //合同
    @Excel(name="合同")
    private CsContract csContract;
    @Excel(name="供应商表")
    private CsSupplier csSupplier;

    public Integer getRm_id() {
        return rm_id;
    }

    public void setRm_id(Integer rm_id) {
        this.rm_id = rm_id;
    }

    public Integer getEid() {
        return eid;
    }

    public void setEid(Integer eid) {
        this.eid = eid;
    }

    public String getRm_illustrate() {
        return rm_illustrate;
    }

    public void setRm_illustrate(String rm_illustrate) {
        this.rm_illustrate = rm_illustrate;
    }

    public Date getRm_happen_date() {
        return rm_happen_date;
    }

    public void setRm_happen_date(Date rm_happen_date) {
        this.rm_happen_date = rm_happen_date;
    }

    public Integer getRm_item() {
        return rm_item;
    }

    public void setRm_item(Integer rm_item) {
        this.rm_item = rm_item;
    }

    public Integer getRm_status() {
        return rm_status;
    }

    public void setRm_status(Integer rm_status) {
        this.rm_status = rm_status;
    }

    public Date getRm_handing_date() {
        return rm_handing_date;
    }

    public void setRm_handing_date(Date rm_handing_date) {
        this.rm_handing_date = rm_handing_date;
    }

    public String getRm_handing_person() {
        return rm_handing_person;
    }

    public void setRm_handing_person(String rm_handing_person) {
        this.rm_handing_person = rm_handing_person;
    }

    public String getRm_handing_result() {
        return rm_handing_result;
    }

    public void setRm_handing_result(String rm_handing_result) {
        this.rm_handing_result = rm_handing_result;
    }

    public CsContract getCsContract() {
        return csContract;
    }

    public void setCsContract(CsContract csContract) {
        this.csContract = csContract;
    }

    public CsSupplier getCsSupplier() {
        return csSupplier;
    }

    public void setCsSupplier(CsSupplier csSupplier) {
        this.csSupplier = csSupplier;
    }

    public String getE_hname() {
        return e_hname;
    }

    public void setE_hname(String e_hname) {
        this.e_hname = e_hname;
    }

    public String getH_name() {
        return h_name;
    }

    public void setH_name(String h_name) {
        this.h_name = h_name;
    }

    @Override
    public String toString() {
        return "CsRiskMonitor{" +
                "rm_id=" + rm_id +
                ", eid=" + eid +
                ", e_hname='" + e_hname + '\'' +
                ", rm_illustrate='" + rm_illustrate + '\'' +
                ", h_name='" + h_name + '\'' +
                ", rm_happen_date=" + rm_happen_date +
                ", rm_item=" + rm_item +
                ", rm_status=" + rm_status +
                ", rm_handing_date=" + rm_handing_date +
                ", rm_handing_person='" + rm_handing_person + '\'' +
                ", rm_handing_result='" + rm_handing_result + '\'' +
                ", csContract=" + csContract +
                ", csSupplier=" + csSupplier +
                '}';
    }
}
